﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="editPatient.aspx.cs" Inherits="adminstrator_editPatient" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        .auto-style1 {
            width: 480px;
            height: 40px;
        }
        .auto-style2 {
            width: 300px;
            height: 40px;
        }
        .auto-style3 {
            width: 200px;
            height: 40px;
        }
    </style>
</head>
<body style="height:450px;margin:0;padding:0;">
    <form id="form1" runat="server">
    <div style="margin:0 auto;margin-top:10px;text-align:center;width:1000px;height:500px;">
        <table border="1" style="background:#f8eee1">
            <tr style="width:800px;">
                <td class="auto-style2"><asp:Label runat="server" ID="label1" Text="选择查询字段"></asp:Label></td>
                <td class="auto-style3"><asp:DropDownList runat="server" ID="DropDownList1" Width="100px" Font-Size="20px">
                    <asp:ListItem>就诊卡号</asp:ListItem>
                    <asp:ListItem>姓名</asp:ListItem>
                    <asp:ListItem>身份证号</asp:ListItem>
                    <asp:ListItem>电话</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="auto-style1"><asp:TextBox runat="server" ID="TextBox1" Width="250px" Font-Size="20px" MaxLength="18"></asp:TextBox></td>
            </tr>
            <tr style="text-align:center;height:50px">
                <td colspan="10">
                    <asp:Button runat="server" ID="ButtonOK" Text="确定" Font-Size="20px" OnClick="ButtonOK_Click" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button runat="server" ID="ButtonReset" Text="重置" Font-Size="20px" OnClick="ButtonReset_Click" />
                </td>
            </tr>
        </table>
        <br />
         <asp:GridView runat="server" ID="GridView1" AllowPaging="true" PageSize="8" AutoGenerateColumns="false" OnRowEditing="GridView1_RowEditing"
            OnRowDeleting="GridView1_RowDeleting"  OnPageIndexChanging="GridView1_PageIndexChanging" Width="1002px">
            <Columns>
                <asp:CommandField ShowEditButton="True" ItemStyle-Width="50px" />
                <asp:CommandField ShowDeleteButton="True" ItemStyle-Width="50px" />
                <asp:BoundField DataField="ID" HeaderText="ID号" ReadOnly="true" ItemStyle-Width="50px" />
                <asp:BoundField DataField="ID_JZ" HeaderText="就诊卡号" ReadOnly="true" ItemStyle-Width="100px" />
                <asp:BoundField DataField="Name" HeaderText="姓名" ReadOnly="true" ItemStyle-Width="100px" />
                <asp:BoundField DataField="Age" HeaderText="年龄" ItemStyle-Width="50px" />
                <asp:BoundField DataField="Snum" HeaderText="身份证号" ReadOnly="true" ItemStyle-Width="100px" />
                <asp:BoundField DataField="Phone" HeaderText="电话" ItemStyle-Width="160px" />
                <asp:BoundField DataField="Addresss" HeaderText="地址" ItemStyle-Width="300px" />
                <asp:BoundField DataField="Type" HeaderText="结算类型" ReadOnly="true" ItemStyle-Width="100px" />
                <asp:BoundField DataField="Sex" HeaderText="性别" ItemStyle-Width="100px" />
            </Columns>
            <HeaderStyle BackColor="#ff9966" />
        </asp:GridView>
        <asp:Label runat="server" ID="Label2"></asp:Label>
    </div>
    </form>
</body>
</html>
